home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
maximus
/
dc_106.zip
/
DC.DOC
< prev
next >
Wrap
Text File
|
1992-09-13
|
7KB
|
186 lines
DC - Display Callers for Maximus 2.01wb and under.
Version 1.06
Warranty:
None, I will not be held liable for any damage, whether
direct or consequential, relating to the use of DC.
You acknowledge this in full by using DC.
Use DC at your own risk ! !
Intro:
Why another who called utility?
Well I couldn't find one that worked the way I wanted. I wanted
a display program where colors were configurable. I wanted to
display each user each time they called with an online and offline
time. I also wanted the ablility to not include the sysop's name
in the display. Lastly I didn't want to have to delete the display
file in my nightly events. So DC was created.
DC reads your Lastread.BBS and gathers the information to
display each callers name, city/st/province, time on, and time off.
DC also reads a config file called DC.CFG to get the paths, names,
and colors to run. After getting all this information, DC makes a
.MEC file which then is compiled with MECCA.EXE. You then have a
nice looking display file off your callers.
Display Caller no longer uses direct screen writes so if your using
Desqview, the display won't bleed over to another window.
Display Caller now has the option to display Alias Names or
Real Names. More on this later.
Installation:
DC consists of three files.
DC.EXE Executible Program
DC.DOC This Documentation.
DC.CFG Configuration File for DC.
First copy all three files into your main BBS directory.
Then you need to edit DC.Cfg with your favorite text editor.
The following is a descriptive example of what DC.CFG should look
like. If you follow the same format, everything should work fine
Sample DC.CFG:
E:\Max\Lastuser.BBS - This is the full path to Lastuser.BBS.
E:\Max\Misc\DC.Mec - This is the full path of your Display File (.MEC).
The Hook and Slice Club - This is your BBS Name.
Sysop Name - If your name is here, it will not be displayed.
E:\Max\Mecca.Exe - This is the full path to Mecca.Exe.
[white] - Color for the Title in display (Today's Callers On).
[lightblue] - Color for the Date in display file.
[white] - Color for the Lines in display file.
[yellow on blue] - Color for Headings in display file.
[lightcyan] - Color for User Name column in display file.
[lightgreen] - Color for City/State/Province column.
[lightred] - Color for Time On column.
[lightred] - Color for Time Off column.
NO - Alias Switch. NO displays Real Name, YES display's Alias
Note: If you have the Alias Switch set to YES and a user doesn't have
an alias, DC will use his Real Name instead.
Note: Sysop Name must be exactly as it appears in the User File for Maximus.
Thats It!, 14 lines. Save and your done with this file.
Make sure you include full paths on the lines that require full paths.
Any valid Mecca color may be used in the color area of DC.CFG.
All Mecca color tokens are listed in Max_Ref.Prn on Page 99.
Now, in your Menus.CTL you need to add a entry to let the users
display the display file. So, edit Menus.CTL and add the following
line to your Main Menu.
Example:
Display_File Misc\DC Disgrace "Today's Callers"
Then save Menus.Ctl and type Silt Max.
Ok, you want to run this after every caller so each caller will be
added to the display file. So, I have included an example of my
Exebbs.bat which is what FrontDoor (Front-End Mailer) generates.
If you run Binkley, you probably use Spawn.bbs or Startmax.bat for
those of you using just Maximus.
I have DC run after every caller except when Maximus exits with
and errorlevel of 2. Errorlevel 2 means the caller never made it
past the "What's Your Name" prompt. If you don't do this, then DC
will add the last person who's name is in Lastuser.bbs to the
display file and your display file would be incorrect.
Here is an scaled example of my Exebbs.Bat:
echo on
cls
:loop
cd\max
Max -b%1 -p1 -t%3
:reload
if errorlevel 47 goto game1
if errorlevel 46 goto game2
if errorlevel 3 goto utilities
if errorlevel 2 goto nouser
:utilities
dc
scanbld user.bbs area.dat all
:nouser
cd\fd
runfd
:game2
cd\game1
"load game here"
CD\MAX
max -r
goto reload
:game1
cd\game2
"load game here"
cd\max
max -r
goto reload
Thats It! (I Hope. <smile>)
With this setup, DC will be ran for every valid caller and
each user will be added to your display file for viewing.
Each day a new display file is created. DC gets the date
from your system. If the system date and the date in
your display file differ, then a new display file will
be created, otherwise the data is just appended to the
display file.
Hope you enjoy my program.
Thanks Scott Dudley for writing the Best BBS package around.
This program is Freeware. If you use and like my program,
please send me a postcard or something. I'd like to know
what other sysops think of it.
Bill Spicer
The Hook and Slice Club BBS
202 Warrington Ave.
Danville, IL 61832 USA
FidoNet 1:233/6
You can FREQ DC from the above address using DC
as the Magic Filename.
DC was written using Microsoft's Basic Professional Development
System Version 7.1
History:
1.03 - First public release.
1.04 - Fixed spacing problem when writing user's name and city.
1.05 - No longer uses direct screen writes to fix bleeding
over problem in Desqview. Added alias display option.
1.06 - DC now trims leading spaces off of entries in DC.CFG.